package model
import "fmt"
type Customer struct{
	Id int
	Name string
	Gender string
	Age int
	Phone string
	Email string
}

func CustomerFactory(id int,name,gender string,age int,phone,email string) Customer{
	return Customer{
		Id : id,
		Name : name,
		Gender : gender,
		Age : age,
		Phone : phone,
		Email : email,
	}
}
func CustomerFactory2(name,gender string,age int,phone,email string) Customer{
	return Customer{
		Name : name,
		Gender : gender,
		Age : age,
		Phone : phone,
		Email : email,
	}
}
func (c Customer)String()string{
	s := fmt.Sprintf("%d\t%v\t%v\t%d\t%v\t%v\t",c.Id,c.Name,c.Gender,c.Age,c.Phone,c.Email)
	return s
}